package com.yand.data.link;

public class LinkTest {


    public static void main(String [] args){

        LinkedList list = new LinkedList();

        list.addToEnd(1l);
        list.addToEnd(2l);
        list.addToEnd(3l);
        list.addToEnd(4l);
        list.addToEnd(5l);
        list.addByIndex(6l,2);
        list.disPlay();
        /*list.del(9l);
        list.disPlay();*/

    }
}
